/**
 * Company
 * Copyright (C) 2004-2018 All Rights Reserved.
 */
package com.idefav.springdemo2.ioc.basic.beans;

import lombok.Data;

import java.util.Date;

/**
 * @author wuzishu
 * @version $Id Work.java, v 0.1 2018-07-22 上午10:17 wuzishu Exp $$
 */
@Data
public class Work {
    public Work() {
        System.out.println("create a work:"+System.currentTimeMillis());
    }

    public Work(String name) {
        this.name = name;
        System.out.println("create a work with name:"+System.currentTimeMillis());
    }

    private String name;
}
